<script type="text/javascript" src="/scripts/common.js"></script>
<link type="text/css" href="/styles/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<link type="text/css" href="/styles/style.css" rel="stylesheet" />
	<form enctype="multipart/form-data" id="messageform" name="messageform" method="POST" action="/expressions/index/updategroupdetails/<?php echo $ctx->id;?>/<?php echo $ctx->group_id;?>">
		<div id="Compose">
			<div class="pad_t8">
			<label>Name</label><input type="text" id="name" name="name" value="<?php echo $ctx->result['user_name'];?>" />
			<div class="clear"></div>
			</div>
			<label>Email</label><input type="text" id="email" name="email" value="<?php echo $ctx->result['email_id'];?>" />
			<div class="clear"></div>
			</div>
		<div class="pad_t8 pad_1108">
		<a class="Button" href="javascript:void(0);" onclick="updategroup(document.messageform);"><span>Update</span></a>
		</div>
		<div class="clear"></div>
	</form>
<script>
//<![CDATA[
function updategroup(frm)
{

    //alert(frm.name.value);return false;
	var result = false;
	var result1 = false;
	//alert(frm.file.value);return false;
	result = !isEmpty(frm.name, "Please Enter name") ;

		if(result) result = !isEmpty(frm.email, "Please enter email") ;
	    if(result){
	 //result= checkdera("'"+frm.message.value+"'","'"+strmsg+"'");
	}
	if(result)
	{
		document.getElementById('messageform').submit()
	}
	 //alert(result);
	//return result;
}	
//]]>
</script>